package com.atmilan.quartz.model.entity.paolo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 功能描述: paolo商品映射对象
 *
 * @Author: wangzh
 * @Date: 2023/2/8 16:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class PaoloProduct extends Model<PaoloProduct> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer productId;

    @ApiModelProperty("客户商品id")
    private Integer clientProductId;

    @ApiModelProperty("spu")
    private String spu;

    @ApiModelProperty("sku")
    private String sku;

    @ApiModelProperty("品牌")
    private String brand;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品描述")
    private String description;

    @ApiModelProperty("genre")
    private String genre;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("分类")
    private String category;

    @ApiModelProperty("适合季节")
    private String season;

    @ApiModelProperty("是否常规款")
    private Boolean isCarryOver;

    @ApiModelProperty("颜色")
    private String color;

    @ApiModelProperty("成分")
    private String composition;

    @ApiModelProperty("产地")
    private String madeIn;

    @ApiModelProperty("sizeAndFit")
    private String sizeAndFit;

    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("价格是否包含增值税")
    private Boolean priceIncludeVat;

    @ApiModelProperty("商品最后一次更新时间")
    private Date productLastUpdate;

    @ApiModelProperty("sizeType")
    private String sizeType;

    @ApiModelProperty("商品图片")
    private String photos;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("最后一次拉取时间")
    private Date lastPushTime;

}
